package com.weitu.threeSimultaneities.occHealth.service.impl;

import com.weitu.threeSimultaneities.occHealth.entity.OccHealth;
import com.weitu.threeSimultaneities.occHealth.mapper.OccHealthMapper;
import com.weitu.threeSimultaneities.occHealth.service.OccHealthService;
import java.util.List;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class OccHealthServiceImpl implements OccHealthService {
    @Autowired
    private OccHealthMapper occHealthMapper;


    @Override
    public OccHealth selectByPrimaryKey(String id) {
        return this.occHealthMapper.selectByPrimaryKey(id);
    }

    @Override
    public int deleteByPrimaryKey(String id) {
        return this.occHealthMapper.deleteByPrimaryKey(id);
    }

    @Override
    public int updateByPrimaryKeySelective(OccHealth record) {
        return this.occHealthMapper.updateByPrimaryKeySelective(record);
    }

    @Override
    public int updateByPrimaryKey(OccHealth record) {
        return this.occHealthMapper.updateByPrimaryKey(record);
    }

    @Override
    public int insert(OccHealth record) {
        return this.occHealthMapper.insert(record);
    }

    @Override
    public int insertSelective(OccHealth record) {
        return this.occHealthMapper.insertSelective(record);
    }
}